Version 0.1 |
SZipFile SZipFolder SUnZipFile SZipFileInfo SZipFileData SZipFileList Futur Expansions |
This DLL lets you Zip/UnZip file in mIRC. The DLL also contains functions returning various information on the contents of the Zip file. Every function in this DLL returns a value if used with the $dll identifier. Z_OK if successful, Z_ERROR [message] otherwise. The DLL makes use of multithreading to not lock mIRC while doing the Zip/UnZip operations. You will receive a signal SZIP event when the process terminates itself with the name of the zip file used during the operation that is like this "Z_OK <zip_filename>". This Command lets you Zip a File. Command: /dll SZip.dll SZipFile filename > zipfile $dll(SZip.dll,SZipFile,filename > zipfile) Succes Return Value: Z_OK This command Zips a folder and all it's subfolders to a Zip file. Command: /dll SZip.dll SZipFolder folder > zipfile $dll(SZip.dll,SZipFolder,folder > zipfile) Succes Return Value: Z_OK This command Unzips a Zip file to a specified location. Command: /dll SZip.dll SUnZipFile zipfile > directory $dll(SZip.dll,SUnZipFile,zipfile > directory) Succes Return Value: Z_OK This command returns information on the Zip file. Command: /dll SZip.dll SZipFileInfo zipfile $dll(SZip.dll,SZipFileInfo,zipfile) Succes Return Value: <numfiles>CHR9<numdirs>CHR9<compressed size (in bytes)>CHR9<uncompressed size (in bytes)> Returns information on the Nth file in the Zip file. Command: /dll SZip.dll SZipFileData zipfile > N $dll(SZip.dll,SZipFileData,zipfile > N) Succes Return Value: <filename>CHR9<compressed size (in bytes)>CHR9<uncompressed size (in bytes)>CHR9<CRC32> This command lets you list rapidly the contents of a Zip file. You pass the command a mIRC Command that it calls with the data (same format as SZipFileData) for every file found in the Zip file (like the $findfile command parameter). Command: /dll SZip.dll SZipFileList zipfile > mIRCCommand $dll(SZip.dll,SZipFileList,zipfile > mIRCCommand) Succes Return Value: Z_OK Comments, Suggestions and Ideas on commands i could integrate in the DLL are welcome. Futur Stuff - ClickHeRe - © 2003 - Testing-> $me - Special Thanx-> $me - #scriptsdb.org @ Undernet @ Webnet - http://scriptsdb.org |